let sysInfo = null;

const systemInfo = wx.getSystemInfoSync();
const capsuleInfo = wx.getMenuButtonBoundingClientRect();

// 状态栏高度
sysInfo = {
    navBarHeight: capsuleInfo.height + 4 * 2 + systemInfo.statusBarHeight,
    statusBarHeight: systemInfo.statusBarHeight * 2
}
console.log(sysInfo.navBarHeight)

console.log(sysInfo.statusBarHeight)
module.exports = {
    sysInfo
}